package com.tencreat.domain.pt;
import com.baomidou.mybatisplus.annotation.*;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import com.tencreat.common.core.domain.BaseEntity;
import java.math.BigDecimal;
import com.tencreat.common.annotation.Excel;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;


/**
 * 奖金池用户中奖纪录对象 mall_pt_user_bonus_pool_record
 *
 * @author wangkai
 * @date 2021-12-06
 */
@Data
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = true)
@AllArgsConstructor
@NoArgsConstructor
@ApiModel
@TableName("mall_pt_user_bonus_pool_record")
public class MallPtUserBonusPoolRecord extends BaseEntity<MallPtUserBonusPoolRecord>{
    private static final long serialVersionUID = 1L;


    /** $column.columnComment */
    @TableId(type = IdType.AUTO)
    private Long id;


    /** 用户uuid */
    @Excel(name = "用户uuid")
    @ApiModelProperty(value= "用户uuid")
    @TableField("`uuid`")
    private Long uuid;


    /** 奖金池id */
    @Excel(name = "奖金池id")
    @ApiModelProperty(value= "奖金池id")
    @TableField("`bonus_pool_id`")
    private Long bonusPoolId;


    /** 奖金池榜单排名 */
    @Excel(name = "奖金池榜单排名")
    @ApiModelProperty(value= "奖金池榜单排名")
    @TableField("`rank`")
    private Long rank;


    /** 直推业绩 */
    @Excel(name = "直推业绩")
    @ApiModelProperty(value= "直推业绩")
    @TableField("`directAchieve`")
    private BigDecimal directAchieve;


    /** 奖金 */
    @Excel(name = "奖金")
    @ApiModelProperty(value= "奖金")
    @TableField("`earnings`")
    private BigDecimal earnings;


    /** 删除标志（0代表存在 2代表删除） */
    @TableLogic
    @TableField("`del_flag`")
    private String delFlag;


    /** 租户ID */
    @Excel(name = "租户ID")
    @ApiModelProperty(value= "租户ID")
    @TableField("`tenant_id`")
    private Long tenantId;


}
